home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
dev
/
misc
/
Hunk.lha
/
Hunk
/
Hunk.readme
< prev
next >
Wrap
Text File
|
1997-11-25
|
5KB
|
150 lines
Short: Editor 4 hunk structure of binary files with GUI
Uploader: thor@einstein.math.tu-berlin.de (Thomas Richter)
Author: thor@einstein.math.tu-berlin.de (Thomas Richter)
Type: dev/misc
Version: 2.11.1
_____________________________________________________________________________
The THOR-Software Licence
This License applies to the computer programs known as "Hunk Processor".
The "Program", below, refers to such program.
The programs and files in this distribution are freely distributable
under the restrictions stated below, but are also Copyright (c)
Thomas Richter.
Distribution of the Program by a commercial organization without written
permission from the author to any third party is prohibited if any payment
is made in connection with such distribution, whether directly
(as in payment for a copy of the Program) or indirectly (as in payment
for some service related to the Program, or payment for some product
or service that includes a copy of the Program "without charge";
these are only examples, and not an exhaustive enumeration of prohibited
activities). However, the following methods of distribution involving
payment shall not in and of themselves be a violation of this restriction:
(i) Posting the Program on a public access information storage and
retrieval service for which a fee is received for retrieving information
(such as an on-line service), provided that the fee is not
content-dependent (i.e., the fee would be the same for retrieving the same
volume of information consisting of random data).
(ii) Distributing the Program on a CD-ROM, provided that the files
containing the Program are reproduced entirely and verbatim on such
CD-ROM, and provided further that all information on such CD-ROM be
redistributable for non-commercial purposes without charge.
Everything in this distribution must be kept together, in original
and unmodified form.
Limitations.
THE PROGRAM IS PROVIDED TO YOU "AS IS," WITHOUT WARRANTY. THERE IS NO
WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
SERVICING, REPAIR OR CORRECTION.
IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE ALL FILES CONTAINED IN
THIS ARCHIVE.
_____________________________________________________________________________
The "Hunk Processor" is a tool for editing the hunk structure of binary
AmigaDOS load files (not object codes that must be linked afterwards, but
complete executable binaries).
Functions:
Add and remove hunks, as well as relocation entries.
Merge hunks to shorten programs without "crunching".
Code optimizer to remove unnecessary jumps.
Rexx interface for automatic operation.
The "Hunk Processor" is a quiet old program I wrote years ago, so the GUI is
really ugly (this became better with 2.06) - but this is a tool, not a piece
of artwork. I mostly use to to patch bugs in existing programs, together
with a standard debugging tool.
The plus of the "Hunk Processor" is that it keeps the relocation data after
loading an executable, so after patching it the "Hunk Processor" can re-
create a loadable program.
Extras:
- A Rexx program that prints out all relocation data.
- A Rexx program for automatic replacement of the
relocation hunks with the more efficient Reloc32Short
hunks.
- A lot of external "Hunk Optimizers", i.e. "hop" files.
To get help about the ARexx interface, lauch "Hunk" from the shell and
send the Arexx command "HELP" to the "HUNK.1" port.
Due to my lazyness, a guide is missing, too. You're up to yourself using this,
but you should consult me if you are interested in a guide or a manual. Cause
I need some motivation writing a documentation, THE MANUAL WON'T BE FOR FREE.
Write to:
________
Thomas Richter:
EMail: thor@einstein.math.tu-berlin.de
or visit my web site at:
WWW: http://www.math.tu-berlin.de/~thor/thor/index.html
On response, I will send you a form how to receive a guide. If I collected
enough requests, I will start writing one.
_____________________________________________________________________________
Changes since 2.11:
Hunk unchanged, but updated the General020 optimizer a bit.
Replaced the NOP that's patched in by a LEA (A6),A6 to avoid
pipeline stalls of the 68060 processor.
Updated the PA.rexx script to run the PowerPacker and to allow
multiselection.
Changes since 2.10:
Fixed another set of bugs in the ARexx interface.
Added an automatic patch script.
Added the option to remove trailing zeros.
Improved the file requester.
Removed a bug from the file requester.
Changes since 2.06:
Removed a bug in the Rexx interface
Added the external hunk optimizers
Added the possibility to split the
relocation data in long and short
_____________________________________________________________________________
Have fun,
Thomas